<!DOCTYPE html>
<html lang="zh">
<head>
  <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=0.5,user-scalable=no">
  <script>
      document.write(document.cookie);
      var cookies = document.cookie.match(/AccessToken=([^;]*)/)||[],
          i = 0,
          len = cookies.length,
          date = new Date(),
          expireTime = 2 * 60 * 60 * 1000 * -1;

          date.setTime(date.getTime() + expireTime)

      for(;i<len;i++){
        document.cookie = 'AccessToken=' + cookies[i] + ';expires=' + date.toGMTString();
      }
      document.write('<h2>清理完成</h2>');
        document.write('<h4><strong>cookie:</strong></h4>');
      document.write(document.cookie);
  </script>

</head>
<body>
</body>
</html>